import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
* 获取 OrrMaterialSummary 分页列表
*/
export function getOrrMaterialSummaryPagination(data: any) {
    return axios.get(`${context}/orrMaterialSummary/pagination`, { params: data });
}


/**
* 获取 OrrMaterialSummary 所有数据
*/
export function getOrrMaterialSummaryAllList(data: any) {
    return axios.get(`${context}/orrMaterialSummary/allList`, { params: data });
}


/**
* 获取 OrrMaterialSummary 详情
*/
export function getOrrMaterialSummaryDetailById(id: any) {
    return axios.get(`${context}/orrMaterialSummary/${id}`, { params:{id} });
}


/**
* 新增 OrrMaterialSummary
*/
export function addOrrMaterialSummary(data: any) {
    return axios.post(`${context}/orrMaterialSummary`, data);
}

/**
* 修改 OrrMaterialSummary
*/
export function updateOrrMaterialSummary(data: any) {
    return axios.put(`${context}/orrMaterialSummary`, data);
}

/**
* 删除 OrrMaterialSummary
*/
export function batchRemoveOrrMaterialSummary(data: any) {
        return axios.post(`${context}/orrMaterialSummary/batchRemove`, data);
}
